package com.zzty.zzlp.service;

import com.zzty.zzlp.entity.TeamExam;

import java.util.List;

public interface TeamExamService {

    public String[] getQuestionID(String date, Integer clazzId);

    public Integer searchExamId(String date, Integer clazzId);

    public Integer searchClazzId(String name);

    public void addTeamExam(TeamExam te);

    public void updateWinners(Integer examId, Integer winnerId1, Integer winnerId2);

    public List<TeamExam> searchTeamExamByClazzId(Integer clazzId, Integer page);

    public List<TeamExam> searchTeamExamByClazzId(Integer clazzId);

    public Integer searchNewId(String date, String questions, int clazzId);

    public List<TeamExam> searchTeamExamByWinnerIdAndClazzId(Integer clazzId);

    public List<TeamExam> searchTenTeamExamByClazzId(Integer clazzId, Integer page);


}
